import java.util.Scanner;

public class T6 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("Please input a int number a:");
        int a = scanner.nextInt();
        System.out.println("invoke int cube()");
        System.out.println("Cube of a is:"+a*a*a);

        System.out.println("Please input a float number b:");
        float b = scanner.nextFloat();
        System.out.println("invoke float cube()");
        System.out.printf("Cube of b is:%.2f\n",b*b*b);

        System.out.println("Please input a double number c:");
        double c = scanner.nextDouble();
        System.out.println("invoke double cube()");
        System.out.printf("Cube of c is:%.4f\n",c*c*c);
    }
}
